#!/usr/bin/env python2
## -*- coding: utf-8 -*-

import sys

def sx(bits, value):
    sign_bit = 1 << (bits - 1)
    return (value & (sign_bit - 1)) - (value & sign_bit)

SymVar_0 = int(sys.argv[1])
ref_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_999819 = ref_278 # MOV operation
ref_1132503 = ref_999819 # MOV operation
ref_1132511 = ((ref_1132503 << (0x39 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_1132518 = ref_1132511 # MOV operation
ref_1663260 = ref_278 # MOV operation
ref_1795899 = ref_1663260 # MOV operation
ref_1795907 = (ref_1795899 >> (0x7 & 0x3F)) # SHR operation
ref_1795914 = ref_1795907 # MOV operation
ref_1862243 = ref_1795914 # MOV operation
ref_1862255 = ref_1132518 # MOV operation
ref_1862257 = (ref_1862255 | ref_1862243) # OR operation
ref_1928581 = ref_1862257 # MOV operation
ref_2990129 = ref_1928581 # MOV operation
ref_3122808 = ref_2990129 # MOV operation
ref_3122810 = ((ref_3122808 + 0x2D4AF89B) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_3189139 = ref_3122810 # MOV operation
ref_3189141 = (ref_3189139 & 0x1D5ABF66) # AND operation
ref_3719888 = ref_278 # MOV operation
ref_3852572 = ref_3719888 # MOV operation
ref_3852580 = ((ref_3852572 << (0x35 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_3852587 = ref_3852580 # MOV operation
ref_4383329 = ref_278 # MOV operation
ref_4515968 = ref_4383329 # MOV operation
ref_4515976 = (ref_4515968 >> (0xB & 0x3F)) # SHR operation
ref_4515983 = ref_4515976 # MOV operation
ref_4582312 = ref_4515983 # MOV operation
ref_4582324 = ref_3852587 # MOV operation
ref_4582326 = (ref_4582324 | ref_4582312) # OR operation
ref_4648660 = ref_4582326 # MOV operation
ref_4648672 = ref_3189141 # MOV operation
ref_4648674 = ((ref_4648660 - ref_4648672) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_4648682 = ref_4648674 # MOV operation
ref_4715001 = ref_4648682 # MOV operation
ref_5776527 = ref_278 # MOV operation
ref_5842836 = ref_5776527 # MOV operation
ref_5842850 = ((ref_5842836 - 0xE8D4346) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_5842858 = ref_5842850 # MOV operation
ref_5909177 = ref_5842858 # MOV operation
ref_6970725 = ref_1928581 # MOV operation
ref_7037034 = ref_6970725 # MOV operation
ref_7037048 = ((0x20453EE3 + ref_7037034) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_7567796 = ref_278 # MOV operation
ref_7634105 = ref_7567796 # MOV operation
ref_7634117 = ref_7037048 # MOV operation
ref_7634119 = ((ref_7634105 - ref_7634117) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_7634127 = ref_7634119 # MOV operation
ref_7700446 = ref_7634127 # MOV operation
ref_9425333 = ref_1928581 # MOV operation
ref_10155114 = ref_5909177 # MOV operation
ref_10221423 = ref_10155114 # MOV operation
ref_10221435 = ref_9425333 # MOV operation
ref_10221437 = (ref_10221435 | ref_10221423) # OR operation
ref_10354119 = ref_10221437 # MOV operation
ref_10354125 = (0x3F & ref_10354119) # AND operation
ref_10486834 = ref_10354125 # MOV operation
ref_10486842 = ((ref_10486834 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_10486849 = ref_10486842 # MOV operation
ref_11083943 = ref_1928581 # MOV operation
ref_11150252 = ref_11083943 # MOV operation
ref_11150264 = ref_10486849 # MOV operation
ref_11150266 = (ref_11150264 | ref_11150252) # OR operation
ref_11216590 = ref_11150266 # MOV operation
ref_12410817 = ref_4715001 # MOV operation
ref_13074249 = ref_11216590 # MOV operation
ref_13206888 = ref_13074249 # MOV operation
ref_13206896 = (ref_13206888 >> (0x1 & 0x3F)) # SHR operation
ref_13206903 = ref_13206896 # MOV operation
ref_13339580 = ref_13206903 # MOV operation
ref_13339586 = (0xF & ref_13339580) # AND operation
ref_13405920 = ref_13339586 # MOV operation
ref_13405934 = (0x1 | ref_13405920) # OR operation
ref_13538638 = ref_13405934 # MOV operation
ref_13538640 = ((0x40 - ref_13538638) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_13538648 = ref_13538640 # MOV operation
ref_13604994 = ref_12410817 # MOV operation
ref_13604998 = ref_13538648 # MOV operation
ref_13605000 = (ref_13604998 & 0xFFFFFFFF) # MOV operation
ref_13605002 = ((ref_13604994 << ((ref_13605000 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_13605009 = ref_13605002 # MOV operation
ref_14135773 = ref_4715001 # MOV operation
ref_14799205 = ref_11216590 # MOV operation
ref_14931844 = ref_14799205 # MOV operation
ref_14931852 = (ref_14931844 >> (0x1 & 0x3F)) # SHR operation
ref_14931859 = ref_14931852 # MOV operation
ref_15064536 = ref_14931859 # MOV operation
ref_15064542 = (0xF & ref_15064536) # AND operation
ref_15130876 = ref_15064542 # MOV operation
ref_15130890 = (0x1 | ref_15130876) # OR operation
ref_15197196 = ref_14135773 # MOV operation
ref_15197200 = ref_15130890 # MOV operation
ref_15197202 = (ref_15197200 & 0xFFFFFFFF) # MOV operation
ref_15197204 = (ref_15197196 >> ((ref_15197202 & 0xFF) & 0x3F)) # SHR operation
ref_15197211 = ref_15197204 # MOV operation
ref_15263540 = ref_15197211 # MOV operation
ref_15263552 = ref_13605009 # MOV operation
ref_15263554 = (ref_15263552 | ref_15263540) # OR operation
ref_15329878 = ref_15263554 # MOV operation
ref_16325068 = ref_7700446 # MOV operation
ref_17054849 = ref_15329878 # MOV operation
ref_17121158 = ref_17054849 # MOV operation
ref_17121170 = ref_16325068 # MOV operation
ref_17121172 = ((ref_17121158 - ref_17121170) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_17121180 = ref_17121172 # MOV operation
ref_17187499 = ref_17121180 # MOV operation
ref_19111269 = ref_11216590 # MOV operation
ref_19708371 = ref_4715001 # MOV operation
ref_19841028 = ref_19708371 # MOV operation
ref_19841034 = (0xF & ref_19841028) # AND operation
ref_19907368 = ref_19841034 # MOV operation
ref_19907382 = (0x1 | ref_19907368) # OR operation
ref_20040086 = ref_19907382 # MOV operation
ref_20040088 = ((0x40 - ref_20040086) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_20040096 = ref_20040088 # MOV operation
ref_20106442 = ref_19111269 # MOV operation
ref_20106446 = ref_20040096 # MOV operation
ref_20106448 = (ref_20106446 & 0xFFFFFFFF) # MOV operation
ref_20106450 = ((ref_20106442 << ((ref_20106448 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_20106457 = ref_20106450 # MOV operation
ref_20637221 = ref_11216590 # MOV operation
ref_21234323 = ref_4715001 # MOV operation
ref_21366980 = ref_21234323 # MOV operation
ref_21366986 = (0xF & ref_21366980) # AND operation
ref_21433320 = ref_21366986 # MOV operation
ref_21433334 = (0x1 | ref_21433320) # OR operation
ref_21499640 = ref_20637221 # MOV operation
ref_21499644 = ref_21433334 # MOV operation
ref_21499646 = (ref_21499644 & 0xFFFFFFFF) # MOV operation
ref_21499648 = (ref_21499640 >> ((ref_21499646 & 0xFF) & 0x3F)) # SHR operation
ref_21499655 = ref_21499648 # MOV operation
ref_21565984 = ref_21499655 # MOV operation
ref_21565996 = ref_20106457 # MOV operation
ref_21565998 = (ref_21565996 | ref_21565984) # OR operation
ref_22163125 = ref_7700446 # MOV operation
ref_22693869 = ref_17187499 # MOV operation
ref_22760178 = ref_22693869 # MOV operation
ref_22760190 = ref_22163125 # MOV operation
ref_22760192 = (ref_22760190 | ref_22760178) # OR operation
ref_22892856 = ref_22760192 # MOV operation
ref_22892864 = (ref_22892856 >> (0x1 & 0x3F)) # SHR operation
ref_22892871 = ref_22892864 # MOV operation
ref_23025548 = ref_22892871 # MOV operation
ref_23025554 = (0x7 & ref_23025548) # AND operation
ref_23091888 = ref_23025554 # MOV operation
ref_23091902 = (0x1 | ref_23091888) # OR operation
ref_23158253 = ref_21565998 # MOV operation
ref_23158257 = ref_23091902 # MOV operation
ref_23158259 = (ref_23158257 & 0xFFFFFFFF) # MOV operation
ref_23158261 = ((ref_23158253 << ((ref_23158259 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_23158268 = ref_23158261 # MOV operation
ref_23224587 = ref_23158268 # MOV operation
ref_23357219 = ref_23224587 # MOV operation
ref_23357221 = ref_23357219 # MOV operation

print ref_23357221 & 0xffffffffffffffff
